package com.biyabi.pojo;

import com.biyabi.entity.Product;

import java.io.Serializable;

public class CartItem implements Serializable {
	
	
	private String id;//shang
	private SkuPojo skuPojo;
	private Product product;
	private int sum;
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public int getSum() {
		return sum;
	}
	public void setSum(int sum) {
		this.sum = sum;
	}
	public CartItem() {
		super();
	}
	public CartItem(String id, Product product, int sum) {
		super();
		this.id = id;
		this.product = product;
		this.sum = sum;
	}
	public SkuPojo getSkuPojo() {
		return skuPojo;
	}

	public void setSkuPojo(SkuPojo skuPojo) {
		this.skuPojo = skuPojo;
	}
}
